package com.htht.smartschool.model.user;

import java.util.List;

import com.htht.smartschool.common.model.Entity;

/**
 * TUser entity. @author MyEclipse Persistence Tools
 */

public class TUser extends Entity implements java.io.Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	// Fields
	private String name;
	private String usercode;
	private String password;
	private String oldpassword;
	private String userkey;
	private String alias;
	private Boolean islock;
	private Long lockdate;
	private Integer locktype;
	private String region;
	private String code;
	private String departmentcode;
	/**
	 * 0.管理员 1.家长 2.教师
	 */
	private Integer usertype;
	private String cellphone;
	private String email;
	private String remark;
	private String address;
	private String model;
	private String android;
	private String imei;
	private Integer regtype;
	private String vcode;
	private String headimg;
	private String messageid;
	private Long regtime;
	@SuppressWarnings("rawtypes")
	private List usercodes;
	private String pushsessionid;
	private String deviceToken;
	private String stucodes;
	private String stuimeis;
	private String stunames;
	private String schoolcode;
	private String rolecodes;
	/**
	 * 添加家长用户时携带中间表字段
	 **/
	private String studentcode;
	private String mainType;// 运维类型
	private String schoolname;

	// Constructors

	/** default constructor */
	public TUser() {
	}

	/** full constructor */
	public TUser(String usercode, String password, String userkey,
			String alias, Boolean islock, Long lockdate, Integer locktype,
			String region, Integer usertype, String cellphone, String email,
			String remark, String address, String model, String android,
			String imei, Integer regtype, String vcode, String headimg,
			String messageid, Long regtime, String code, String schoolcode) {
		this.usercode = usercode;
		this.password = password;
		this.userkey = userkey;
		this.alias = alias;
		this.islock = islock;
		this.lockdate = lockdate;
		this.locktype = locktype;
		this.region = region;
		this.usertype = usertype;
		this.cellphone = cellphone;
		this.email = email;
		this.remark = remark;
		this.address = address;
		this.model = model;
		this.android = android;
		this.imei = imei;
		this.regtype = regtype;
		this.vcode = vcode;
		this.headimg = headimg;
		this.messageid = messageid;
		this.regtime = regtime;
		this.code = code;
		this.schoolcode = schoolcode;
	}

	// Property accessors
	
	public String getUsercode() {
		return this.usercode;
	}

	public String getSchoolname() {
		return schoolname;
	}

	public void setSchoolname(String schoolname) {
		this.schoolname = schoolname;
	}

	public String getMainType() {
		return mainType;
	}

	public void setMainType(String mainType) {
		this.mainType = mainType;
	}

	public String getDepartmentcode() {
		return departmentcode;
	}

	public void setDepartmentcode(String departmentcode) {
		this.departmentcode = departmentcode;
	}

	public String getSchoolcode() {
		return schoolcode;
	}

	public void setSchoolcode(String schoolcode) {
		this.schoolcode = schoolcode;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	@SuppressWarnings("rawtypes")
	public List getUsercodes() {
		return usercodes;
	}

	@SuppressWarnings("rawtypes")
	public void setUsercodes(List usercodes) {
		this.usercodes = usercodes;
	}

	public void setUsercode(String usercode) {
		this.usercode = usercode;
	}

	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getUserkey() {
		return this.userkey;
	}

	public void setUserkey(String userkey) {
		this.userkey = userkey;
	}

	public String getAlias() {
		return this.alias;
	}

	public void setAlias(String alias) {
		this.alias = alias;
	}

	public Boolean getIslock() {
		return this.islock;
	}

	public void setIslock(Boolean islock) {
		this.islock = islock;
	}

	public Long getLockdate() {
		return this.lockdate;
	}

	public void setLockdate(Long lockdate) {
		this.lockdate = lockdate;
	}

	public Integer getLocktype() {
		return this.locktype;
	}

	public void setLocktype(Integer locktype) {
		this.locktype = locktype;
	}

	public String getRegion() {
		return this.region;
	}

	public void setRegion(String region) {
		this.region = region;
	}

	public Integer getUsertype() {
		return this.usertype;
	}

	public void setUsertype(Integer usertype) {
		this.usertype = usertype;
	}

	public String getCellphone() {
		return this.cellphone;
	}

	public void setCellphone(String cellphone) {
		this.cellphone = cellphone;
	}

	public String getEmail() {
		return this.email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getAddress() {
		return this.address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getModel() {
		return this.model;
	}

	public void setModel(String model) {
		this.model = model;
	}

	public String getAndroid() {
		return this.android;
	}

	public void setAndroid(String android) {
		this.android = android;
	}

	public String getImei() {
		return this.imei;
	}

	public void setImei(String imei) {
		this.imei = imei;
	}

	public Integer getRegtype() {
		return this.regtype;
	}

	public void setRegtype(Integer regtype) {
		this.regtype = regtype;
	}

	public String getVcode() {
		return this.vcode;
	}

	public void setVcode(String vcode) {
		this.vcode = vcode;
	}

	public String getHeadimg() {
		return this.headimg;
	}

	public void setHeadimg(String headimg) {
		this.headimg = headimg;
	}

	public String getMessageid() {
		return messageid;
	}

	public void setMessageid(String messageid) {
		this.messageid = messageid;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Long getRegtime() {
		return regtime;
	}

	public void setRegtime(Long regtime) {
		this.regtime = regtime;
	}

	public String getOldpassword() {
		return oldpassword;
	}

	public void setOldpassword(String oldpassword) {
		this.oldpassword = oldpassword;
	}

	public String getPushsessionid() {
		return pushsessionid;
	}

	public void setPushsessionid(String pushsessionid) {
		this.pushsessionid = pushsessionid;
	}

	public String getDeviceToken() {
		return deviceToken;
	}

	public void setDeviceToken(String deviceToken) {
		this.deviceToken = deviceToken;
	}

	public String getStudentcode() {
		return studentcode;
	}

	public void setStudentcode(String studentcode) {
		this.studentcode = studentcode;
	}

	public String getStunames() {
		return stunames;
	}

	public void setStunames(String stunames) {
		this.stunames = stunames;
	}

	public String getStumeis() {
		return stuimeis;
	}

	public void setStuimeis(String stuimeis) {
		this.stuimeis = stuimeis;
	}

	public String getStucodes() {
		return stucodes;
	}

	public void setStucodes(String stucodes) {
		this.stucodes = stucodes;
	}

	public String getRolecodes() {
		return rolecodes;
	}

	public void setRolecodes(String rolecodes) {
		this.rolecodes = rolecodes;
	}

}